home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / lwmlist / 96.lightwave-0108 / 000034_JBooth411@aol.com_Mon Jan 8 14:15:40 EST 1996.msg < prev    next >
Internet Message Format  |  1996-02-03  |  2KB

  1. Return-Path: <JBooth411@aol.com>
  2. Received: from emout06.mail.aol.com by garcia.com (5.x/SMI-SVR4)
  3.     id AA27089; Mon, 8 Jan 1996 14:14:35 -0500
  4. Received: by emout06.mail.aol.com (8.6.12/8.6.12) id OAA23930 for lightwave@garcia.com; Mon, 8 Jan 1996 14:14:02 -0500
  5. Date: Mon, 8 Jan 1996 14:14:02 -0500
  6. From: JBooth411@aol.com
  7. Message-Id: <960108141401_85991498@emout06.mail.aol.com>
  8. To: lightwave@garcia.com
  9. Subject: Re: How exactly do I use BML?
  10. content-length: 1920
  11. Status: RO
  12. X-Status: 
  13.  
  14. In a message dated 96-01-07 23:21:12 EST, you write:
  15.  
  16. >I understand that BML is a scripting language. Having banged out some
  17. >rudimentary Arexx scripts, I know the power of this. What I'd like are some
  18. >more details on exactly how BML is used in a real-world situation. How does
  19. >it compare in use to Arexx? What are the steps involved in compiling a
  20. >script?
  21.  
  22.      Compiling is done in one of two ways. When your writing your script (in
  23. your favorite editor) you save it, run BML and select the script. It compiles
  24. it and runs it. When your script it finished being written (and debuged) you
  25. can compile the script into a file which can be run using the RunTime version
  26. of BML. Compiling is extremely fast, even on large scripts. BML is more
  27. advanced than ARexx, I would say. It can even spawn external C compiled
  28. programs. 
  29.  
  30.  
  31. >Let's say I wanted to write a plugin for Alpha NT that would randomly clone
  32. >an object all over the place. It would have controls for distance on the X,
  33. >Y and Z axis, as well as density and maybe size variations. No, I'm not
  34. >trying to get someone to write this for free. It just struck me as a good
  35. >general example.
  36.  
  37.      You'd write a script that would choose a random number, and clone the
  38. object into a different layer, move it by your random amount in each axis,
  39. and possably scale it, and copy it back into the current layer. The script
  40. would look very similar to an arexx counterpart, as most of the modeler
  41. specific commands are the same.
  42.  
  43. >Also, what is the difference between .bml and .bmc files? How do I use them
  44. >in LW? Can either type simply be installed as a plugin or must they be
  45. >compiled first?
  46.  
  47.      BML - Uncompiled script file which can be edited further
  48.      BMC - Compiled script for use with the run-time BML plugin, can be used
  49. by anyone,
  50.                 even if they don't own BML.
  51.  
  52. >Thanks for any answers. I'm sure if other LWer's are curious as well.
  53. >
  54. >
  55. >
  56.